﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DataList横向从复.aspx.cs" Inherits="数据访问控件_DataList横向从复" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>        
       <!--RepeatDirection 布局方向 Horizontal 横 　RepeatColumns　表示横着的行数-->
        <asp:DataList ID="DataList1" runat="server" BorderColor="#336666" BorderWidth="3px"
            CellPadding="4" GridLines="Horizontal" BackColor="White" BorderStyle="Double" RepeatColumns="3" DataSourceID="SqlDataSource1" RepeatDirection="Horizontal">
            <ItemStyle BackColor="White" ForeColor="#333333" />
            <FooterStyle BackColor="White" ForeColor="#333333" />
            <SelectedItemStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
            <ItemTemplate>
                bookid:
                <asp:Label ID="bookidLabel" runat="server" Text='<%# Eval("bookid") %>'></asp:Label><br />
                mch:
                <asp:Label ID="mchLabel" runat="server" Text='<%# Eval("mch") %>'></asp:Label><br />
                pp:
                <asp:Label ID="ppLabel" runat="server" Text='<%# Eval("pp") %>'></asp:Label><br />
                qch:
                <asp:Label ID="qchLabel" runat="server" Text='<%# Eval("qch") %>'></asp:Label><br />
                jj:
                <asp:Label ID="jjLabel" runat="server" Text='<%# Eval("jj") %>'></asp:Label><br />
                rq:
                <asp:Label ID="rqLabel" runat="server" Text='<%# Eval("rq") %>'></asp:Label><br />
                jg:
                <asp:Label ID="jgLabel" runat="server" Text='<%# Eval("jg") %>'></asp:Label><br />
                zl:
                <asp:Label ID="zlLabel" runat="server" Text='<%# Eval("zl") %>'></asp:Label><br />
                xx:
                <asp:Label ID="xxLabel" runat="server" Text='<%# Eval("xx") %>'></asp:Label><br />
                isbn1:
                <asp:Label ID="isbn1Label" runat="server" Text='<%# Eval("isbn1") %>'></asp:Label><br />
                tp:
                <asp:Label ID="tpLabel" runat="server" Text='<%# Eval("tp") %>'></asp:Label><br />
                nr:
                <asp:Label ID="nrLabel" runat="server" Text='<%# Eval("nr") %>'></asp:Label><br />
                ml:
                <asp:Label ID="mlLabel" runat="server" Text='<%# Eval("ml") %>'></asp:Label><br />
                bookname:
                <asp:Label ID="booknameLabel" runat="server" Text='<%# Eval("bookname") %>'></asp:Label><br />
                pingpai:
                <asp:Label ID="pingpaiLabel" runat="server" Text='<%# Eval("pingpai") %>'></asp:Label><br />
                bookchuban:
                <asp:Label ID="bookchubanLabel" runat="server" Text='<%# Eval("bookchuban") %>'>
                </asp:Label><br />
                bookdate:
                <asp:Label ID="bookdateLabel" runat="server" Text='<%# Eval("bookdate") %>'></asp:Label><br />
                kaiben:
                <asp:Label ID="kaibenLabel" runat="server" Text='<%# Eval("kaiben") %>'></asp:Label><br />
                yeshu:
                <asp:Label ID="yeshuLabel" runat="server" Text='<%# Eval("yeshu") %>'></asp:Label><br />
                banci:
                <asp:Label ID="banciLabel" runat="server" Text='<%# Eval("banci") %>'></asp:Label><br />
                zhuang:
                <asp:Label ID="zhuangLabel" runat="server" Text='<%# Eval("zhuang") %>'></asp:Label><br />
                isbn:
                <asp:Label ID="isbnLabel" runat="server" Text='<%# Eval("isbn") %>'></asp:Label><br />
                bookcontent:
                <asp:Label ID="bookcontentLabel" runat="server" Text='<%# Eval("bookcontent") %>'>
                </asp:Label><br />
                bookmulu:
                <asp:Label ID="bookmuluLabel" runat="server" Text='<%# Eval("bookmulu") %>'></asp:Label><br />
                pingji:
                <asp:Label ID="pingjiLabel" runat="server" Text='<%# Eval("pingji") %>'></asp:Label><br />
                shichangjia:
                <asp:Label ID="shichangjiaLabel" runat="server" Text='<%# Eval("shichangjia") %>'>
                </asp:Label><br />
                huiyuanjia:
                <asp:Label ID="huiyuanjiaLabel" runat="server" Text='<%# Eval("huiyuanjia") %>'>
                </asp:Label><br />
                vipjia:
                <asp:Label ID="vipjiaLabel" runat="server" Text='<%# Eval("vipjia") %>'></asp:Label><br />
                bestbook:
                <asp:Label ID="bestbookLabel" runat="server" Text='<%# Eval("bestbook") %>'></asp:Label><br />
                tejiabook:
                <asp:Label ID="tejiabookLabel" runat="server" Text='<%# Eval("tejiabook") %>'></asp:Label><br />
                newsbook:
                <asp:Label ID="newsbookLabel" runat="server" Text='<%# Eval("newsbook") %>'></asp:Label><br />
                kucun:
                <asp:Label ID="kucunLabel" runat="server" Text='<%# Eval("kucun") %>'></asp:Label><br />
                chengjiaocount:
                <asp:Label ID="chengjiaocountLabel" runat="server" Text='<%# Eval("chengjiaocount") %>'>
                </asp:Label><br />
                liulancount:
                <asp:Label ID="liulancountLabel" runat="server" Text='<%# Eval("liulancount") %>'>
                </asp:Label><br />
                dazhe:
                <asp:Label ID="dazheLabel" runat="server" Text='<%# Eval("dazhe") %>'></asp:Label><br />
                nclassid:
                <asp:Label ID="nclassidLabel" runat="server" Text='<%# Eval("nclassid") %>'></asp:Label><br />
                anclassid:
                <asp:Label ID="anclassidLabel" runat="server" Text='<%# Eval("anclassid") %>'></asp:Label><br />
                bookpic:
                <asp:Label ID="bookpicLabel" runat="server" Text='<%# Eval("bookpic") %>'></asp:Label><br />
                bookzz:
                <asp:Label ID="bookzzLabel" runat="server" Text='<%# Eval("bookzz") %>'></asp:Label><br />
                adddate:
                <asp:Label ID="adddateLabel" runat="server" Text='<%# Eval("adddate") %>'></asp:Label><br />
                pingjizong:
                <asp:Label ID="pingjizongLabel" runat="server" Text='<%# Eval("pingjizong") %>'>
                </asp:Label><br />
                shjianame:
                <asp:Label ID="shjianameLabel" runat="server" Text='<%# Eval("shjianame") %>'></asp:Label><br />
                shjiaid:
                <asp:Label ID="shjiaidLabel" runat="server" Text='<%# Eval("shjiaid") %>'></asp:Label><br />
                <br />
                
            </ItemTemplate>
            <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
        </asp:DataList></div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SqlConn %>"
            SelectCommand="SELECT book.* FROM book"></asp:SqlDataSource>
    </form>
</body>
</html>
